    package exp3;

    import javax.persistence.Entity;
    import javax.persistence.Id;

    @Entity
    public class userdata {
    @Id
        private String id;

        private String username;

        private String password;

        private String email;

        private String job;

        private String path="../image/11.JPG";

        public String getUsername() {

            return username;

        }

        public userdata(String id, String username, String password, String email,String job) {
            this.id = id;

            this.username = username;

            this.password = password;

            this.email = email;

            this.job=job;

        }

        public userdata() {

            // TODO Auto-generated constructor stub

        }

        public void setJob(String job) {
            this.job = job;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public String getPassword() {
            return password;
        }

        public void setPassword(String password) {
            this.password = password;
        }

        public String getEmail() {

            return email;
        }

        public String getJob() {

            return job;
        }
        public void setEmail(String email) {

            this.email = email;

        }

        public String getId() {

            return id;

        }

        public void setId(String id) {
            this.id = id;
        }

        public void setPath(String path){this.path=path ;}

        public String getPath(){return path;}
    }